<!doctype html>
<html lang="zh-Hans">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title>$!obj.goods_name - $!config.title - Powered by ezaisheng</title>
<meta name="keywords" content="$!obj.seo_keywords" />
<meta name="description" content="$!obj.seo_description" />
<meta name="generator" content="ezaisheng2.0" />
<meta name="author" content="www.ezaisheng.com">
<meta name="copyright" content="ezaisheng Inc. All Rights Reserved">
<link rel="stylesheet" href="$!webPath/resources/style/shop/default/css/yzs.css?v=1" />
<script src="$!webPath/resources/js/jquery-1.8.3.min.js"></script>
<script src="$!webPath/resources/layui/layui.all.js"></script>
<script type="text/javascript">
		$(function(){
			$(".yzs-shopdetail-left-tab ul li").click(function(){
				if($(this).attr("id")=='tab_info'){
					$(".yzs-shopdetail-left-tab ul li").removeClass("yzs-shopdetail-left-tab-sel");
					$(this).addClass("yzs-shopdetail-left-tab-sel");
					$("#con_evaluate").css("display","none");
					$("#con_info").css("display","block");
				}
				if($(this).attr("id")=='tab_evaluate'){
					$(".yzs-shopdetail-left-tab ul li").removeClass("yzs-shopdetail-left-tab-sel");
					$(this).addClass("yzs-shopdetail-left-tab-sel");
					$("#con_evaluate").css("display","block");
					$("#con_info").css("display","none");
				}
			});
			
			$(".yzs-shopdetail-left-top-ul ul li img").click(function(){
				$(".yzs-shopdetail-left-top-ul ul li").removeClass("yzs-shopdetail-left-top-ul-sel");
				$(this).parent("li").addClass("yzs-shopdetail-left-top-ul-sel");
				var src = $(this).attr("src");
				$(".yzs-shopdetail-left-top-img img").attr("src",src);
			});
			
			$("#btn_prve").click(function(){
				var ifocus = 0;
				var num = 0;
				$(".yzs-shopdetail-left-top-ul ul li").each(function(i){
					if($(this).attr("class")=="yzs-shopdetail-left-top-ul-sel"){
						ifocus = i;
					}
					num ++;
				});
				if(ifocus>0){
					$(".yzs-shopdetail-left-top-ul-sel").removeClass("yzs-shopdetail-left-top-ul-sel");
					$(".yzs-shopdetail-left-top-ul li").eq(ifocus-1).addClass("yzs-shopdetail-left-top-ul-sel");
					var src = $(".yzs-shopdetail-left-top-ul li").eq(ifocus-1).find("img").attr("src");
					$(".yzs-shopdetail-left-top-img img").attr("src",src);
				}
			});
			$("#btn_next").click(function(){
				var ifocus = 0;
				var num = 0;
				$(".yzs-shopdetail-left-top-ul ul li").each(function(i){
					if($(this).attr("class")=="yzs-shopdetail-left-top-ul-sel"){
						ifocus = i;
					}
					num ++;
				});
				if(ifocus<(num-1)){
					$(".yzs-shopdetail-left-top-ul-sel").removeClass("yzs-shopdetail-left-top-ul-sel");
					$(".yzs-shopdetail-left-top-ul li").eq(ifocus+1).addClass("yzs-shopdetail-left-top-ul-sel");
					var src = $(".yzs-shopdetail-left-top-ul li").eq(ifocus+1).find("img").attr("src");
					$(".yzs-shopdetail-left-top-img img").attr("src",src);
				}
			});
		});
    </script>
</head>
<body>
	$!httpInclude.include("/top.htm")
    $!httpInclude.include("/head.htm")
    $!httpInclude.include("/nav.htm")
	<div class="yzs-location-panner">
		<div class="yzs-location">首页 &gt;  自营商城</div>
	</div>
	<div class="yzs-container-pannel">
		<div class="yzs-container">
			<div class="yzs-shopdetail-left">
				<div class="yzs-shopdetail-left-top">
					<div class="yzs-shopdetail-left-top-left">
						<div class="yzs-shopdetail-left-top-img">
						   #if($!obj.goods_main_photo)
				            #set($small_img="$!imageWebServer/$!{obj.goods_main_photo.path}/$!{obj.goods_main_photo.name}_small.$!{obj.goods_main_photo.ext}")
				            #else
				            #set($small_img="$!imageWebServer/$!{config.goodsImage.path}/$!{config.goodsImage.name}")
						    #end
							 <img src="$!small_img">
						</div>
						<div class="yzs-shopdetail-left-top-change">
							<div id="btn_prve"></div>
							<div class="yzs-shopdetail-left-top-ul">
								<ul>
								 #foreach($img in $obj.goods_photos) 
								      #set($small_img="$!imageWebServer/$!{img.path}/$!{img.name}_small.$!{img.ext}")
									<li #if($velocityCount==$obj.goods_photos.size()) class="yzs-shopdetail-left-top-ul-sel" #end><img src="$!small_img"></li>
								 #end
							   </ul>
							</div>
							<div id="btn_next"></div>
						</div>
						<div class="yzs-shopdetail-left-top-tools">
							<div><img src="$!webPath/resources/style/shop/default/img/icon_15.png"> 收藏</div>
							<div><img src="$!webPath/resources/style/shop/default/img/icon_16.png"> 分享</div>
						</div>
					</div>
					<div class="yzs-shopdetail-left-top-right">
						<div class="yzs-shopdetail-left-top-title">$!obj.name</div>
						<div class="yzs-shopdetail-left-top-info">
							<div>单价</div>
							<div style="color:#FF6602;font-size:20px;font-weight:bold;">#if($!obj.memberLook)#if($!user) ¥<span>$!{obj.price}</span> #else<span><a href="$!webPath/user/login.htm" style="color: red;">登录看价</a></span>#end #else¥<span>$!{obj.price}</span> #end <img src="$!webPath/resources/style/shop/default/img/icon_12.png"><br>
								<span style="font-size:12px;font-weight:normal;">含税，不含物流费</span></div>
							<div>
								<span style="color:#098B7F;"><img src="$!webPath/resources/style/shop/default/img/icon_13.png">查看质检报告</span> 
								<span style="color:#098B7F;"><img src="$!webPath/resources/style/shop/default/img/icon_14.png">联系客服</span><br>
								<span style="color:#A3A3A3;font-size:12px;">推荐度</span> <span style="color:#FF6602;font-weight:bold;">98%</span>
							</div>
						</div>
						<div class="yzs-shopdetail-left-top-param">
							<table>
								<tr> <td>库存量</td> <td><span style="color:#FF6602;font-weight:bold;">$!obj.inventory</span> <span>吨</span></td> <td>库存地</td> <td><span>#if($!obj.area)  #if($!obj.area.parent.parent.common) $!obj.area.parent.areaName&nbsp;#else $!obj.area.parent.parent.areaName&nbsp;$!obj.area.parent.areaName#end&nbsp;$!obj.area.areaName #end $!obj.area.areaName  $!obj.addess</span></td> </tr>
								<tr> <td>颜色</td> <td><span>$!obj.color.name</span></td> <td>形态</td> <td><span>$!obj.form.name</span></td> </tr>
								<tr> <td>物流方式</td> <td><span>$!obj.logistics.name</span></td> <td></td> <td></td> </tr>
							</table>
						</div>
						<div class="yzs-shopdetail-left-top-btn">
							<div><a href="#if($!user)$!webPath/good_buy_$!{obj.id}.htm#else$!webPath/user/login.htm#end" style="color: white;">立即购买</a></div>
							<div><a href="$!webPath/add_goodscart_$!{obj.id}.htm" style="color: white;">加入采购单</a></div>
							<div><a href="#if($!user)$!webPath/sample_buy_$!{obj.id}.htm#else$!webPath/user/login.htm#end" style="color: #179388;">我要试样</a></div>
						</div>
					</div>
				</div>
				<div class="yzs-shopdetail-left-tab">
					<ul>
						<li id="tab_info" class="yzs-shopdetail-left-tab-sel">描述说明</li>
						<li id="tab_evaluate"  uri="$!webPath/goods_evaluation.htm?goods_id=$!{obj.id}&id=$!{store.id}">评价</li>
					</ul>
				</div>
				
				<div class="yzs-shopdetail-left-con" id="con_info" style="display:block;">
					<div class="yzs-shopdetail-left-con-box">
						<div class="yzs-shopdetail-left-con-title">重要参数</div>
						<div class="yzs-shopdetail-left-con-con"><table>
								<tr> <td style="width:200px;">密度（g/cm<sup>3</sup>）：</td> <td style="width:200px;">$!obj.density</td> <td style="width:200px;">是否环保： #if($!obj.protection)是 #else 否 #end</td> <td style="width:200px;"></td> </tr>
								<tr> <td>悬臂梁缺口冲击（KJ/m<sup>3</sup>）：</td> <td>$!obj.cantilever</td> <td>简支梁缺口冲击（KJ/m<sup>3</sup>）：</td> <td>$!obj.freely</td> </tr>
								<tr> <td>溶脂（g/10min）</td> <td>$!obj.lipolysis</td> <td>灰分（%）：</td> <td>$!obj.ash</td> </tr>
								<tr> <td>水分（%）：</td> <td>$!obj.water</td> <td>拉伸强度（MPa）：</td> <td>$!obj.tensile</td> </tr>
								<tr> <td>断裂伸长率（%）：</td> <td>$!obj.crack</td> <td>弯曲强度（MPa）：</td> <td>$!obj.bending</td> </tr>
								<tr> <td>弯曲模量（MPa）：</td> <td>$!obj.flexural</td> <td>燃烧登记：</td> <td>$!obj.burning</td> </tr>
								<tr> <td>来源：</td> <td>$!obj.source</td> <td>用途：</td> <td>$!obj.purpose</td> </tr>
							</table>
						</div>
					</div>
					<div class="yzs-shopdetail-left-con-box">
						<div class="yzs-shopdetail-left-con-title">详细描述</div>
						<div class="yzs-shopdetail-left-con-con">
						   $!obj.content
						</div>
					</div>
				</div>
				
				<div class="yzs-shopdetail-left-con" id="con_evaluate" style="display:none;">
					<div class="yzs-shopdetail-left-con-box">
						<div class="yzs-shopdetail-left-con-title">货品评价</div>
						<div class="yzs-shopdetail-left-con-con">
							<div class="yzs-shopdetail-left-con-top">
								好评率 <span style="font-size:20px;color:#FF6600;font-weight:bold;margin-right:50px;">100%</span>
								推荐度 <span style="font-size:14px;color:#FF6600;font-weight:bold;">98%</span>
								<span style="float:right;">共计 <span style="font-size:12px;color:#FF6600;font-weight:bold;">2</span> 评价</span>
							</div>
							<ul>
								<li>
									<div><span>ge**n</span>的评价<img src="$!webPath/resources/style/shop/default/img/icon_19.png"><span>2018-03-01</span></div>
									<div>未输入评价未输入评价未输入评价入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价</div>
								</li>
								<li>
									<div><span>ge**n</span>的评价<img src="$!webPath/resources/style/shop/default/img/icon_20.png"><span>2018-03-01</span></div>
									<div>未输入评价未输入评价未输入评价入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价未输入评价</div>
								</li>
							</ul>
						</div>
					</div>
				</div>
				<div class="yzs-shopdetail-left-con">
				    	<div class="yzs-shopdetail-left-con-box">
						<div class="yzs-shopdetail-left-con-title">制作案例</div>
						<div class="yzs-shopdetail-left-con-imgul">
							<ul>
							  #foreach($!img in $!obj.cartographys)
							        #set($small_img="$!imageWebServer/$!{img.path}/$!{img.name}_small.$!{img.ext}")
									<li><img src="$!small_img"></li>
							  #end
							</ul>
						</div>
					</div>
				</div>
			</div>
			<div class="yzs-shopdetail-right">
				<div class="yzs-shopdetail-right-top">
						<div>优品推荐</div>
					</div>
					<div class="yzs-shopdetail-right-con">
					  #foreach($grl in $!goods_reommend_list)
							<div class="yzs-market-right-box">
							       #set($goods_url="$!webPath/goods_$!{grl.id}.htm")
					               #if($!config.second_domain_open)
					               #set($goods_url="http://$!{grl.goods_store.store_second_domain}.$!{domainPath}/goods_$!{grl.id}.htm")
					               #end
								<a href="$goods_url">
								        #if($!grl.goods_main_photo)
										  #set($img="$!imageWebServer/$!{gs.goods_main_photo.path}/$!{grl.goods_main_photo.name}_small.$!{grl.goods_main_photo.ext}")
										#else
										  #set($img="$!imageWebServer/$!{config.goodsImage.path}/$!{config.goodsImage.name}")
										#end
										<div class="yzs-market-left-img"> <img src="$!img"> </div>
										<div class="yzs-market-left-title"> $!gs.name </div>
										<div class="yzs-market-left-price"> #if($!grl.memberLook)#if($!user) <span>$!gs.price</span> #else<span><a href="$!webPath/user/login.htm">登录看价</a></span>#end #else<span>$!grl.price</span> #end<span>#set($av=$!grl.area.areaName) $!CommUtil.substring("$!{av}",6)</span> </div>
									</a>
							</div>
					   #end
					</div>
			</div>
			
		</div>
		<div class="blank40"></div>		
	</div>
	$!httpInclude.include("/footer.htm") 
</body>
</html>